package com.gzz.orchid.context.application.rbac.pojo;

import com.gzz.orchid.common.core.tuple.Option;
import com.gzz.orchid.context.infrastructure.definition.Status;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * @author higmd
 */
@Data
public class UserDto {
    private Long id;
    /**
     * 用户名 user_name
     */
    private String userName;
    /**
     * 所属角色 role
     */
    private Option<String> role;
    /**
     * 昵称 pet_pame
     */
    private String petName;
    /**
     * 登录白名单 allow_ipaddr
     */
    private String allowIpaddr;
    /**
     * 登录黑名单 deny_ipaddr
     */
    private String denyIpaddr;
    /**
     * 状态 status
     */
    private Status status;
    public LocalDateTime createdOn;
    public String createdBy;
}
